package com.dragon.mmochat.model.enumType;

public enum MmochatDirectPayOrderResultType {
	未处理(0), 成功(1), 失败(2);

	int value;

	MmochatDirectPayOrderResultType(int value) {
		this.value = value;
	}

	public int getValue() {
		return value;
	}

	public static MmochatDirectPayOrderResultType get(int v) {
		for (MmochatDirectPayOrderResultType type : MmochatDirectPayOrderResultType
				.values()) {
			if (type.getValue() == v) {
				return type;
			}
		}
		return null;
	}
}
